for $b in document("bib.xml")//book
where $b/publisher = "Addison-Wesley" and $b/@year < 1998
order by $b/title ascending
return $b/title
